
package ex04;

/**
 *
 * @author elias
 */
public class Main {

    public static void sendString(IConexao conn, ITransferencia itran, String s, String number){
        conn.dial(number);
        char[] todos = s.toCharArray();
        for( char c: todos)
            itran.send(c);
        conn.hangup();
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
    }

}
